package route_admin_system_rule

import (
	admin_rule_handler "oc_saas/internal/app/api/admin/rule/handler"

	"github.com/gin-gonic/gin"
)

type RuleRoutes struct{}

func (l *RuleRoutes) InitRouteGroup(r *gin.RouterGroup) {
	nr := r.Group("rule")
	{
		nr.POST("/add", admin_rule_handler.RuleApi.AddRule)
		nr.GET("/list", admin_rule_handler.RuleApi.GetRuleList)
	}

}

var RuleRouteGroup = new(RuleRoutes)
